From 96a333869fe43e866a84e878feae97a5bc69af55 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 27 Apr 2007 16:21:20 +0100 Subject: [PATCH] Add INIT INFO block to example init.d/xend file. Without it SuSE (and others?) will start xend before the network. Signed-off-by: Robert Valentan --- tools/examples/init.d/xend | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/examples/init.d/xend b/tools/examples/init.d/xend index c12b1a0386..4bfc799465 100755 --- a/tools/examples/init.d/xend +++ b/tools/examples/init.d/xend @@ -6,6 +6,18 @@ # # chkconfig: 2345 98 01 # description: Starts and stops the Xen control daemon. +### BEGIN INIT INFO +# Provides: xend +# Required-Start: $syslog $remote_fs +# Should-Start: +# Required-Stop: $syslog $remote_fs +# Should-Stop: +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Default-Enabled: yes +# Short-Description: Start/stop xend +# Description: Starts and stops the Xen control daemon. +### END INIT INFO if ! grep -q "control_d" /proc/xen/capabilities ; then exit 0 -- 2.30.2